-- GENERATED SPELL FOR [Marsh Flesheater] --


function spell0_751(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_751', 577, 1)
end

function Sorts_751(pUnit, Event)
local choix_sorts_751 = math.random(0, 0)
if choix_sorts_751 == 0 then
pUnit:RegisterEvent('spell0_751', 1, 1)
end
end

function mob751_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_751', math.random(1500, 3000), 1)
end

function mob751_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob751_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob751_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(751, 1, 'mob751_Action')
RegisterUnitEvent(751, 2, 'mob751_Leave')
RegisterUnitEvent(751, 3, 'mob751_Kill')
RegisterUnitEvent(751, 4, 'mob751_Die')
